home *** CD-ROM | disk | FTP | other *** search
/ Java 1996 August / Java - Summer 1996.iso / kaffe-0.2 / kaffe / codegen / register.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-12  |  688 b   |  33 lines

  1. /*
  2.  * register.h
  3.  * Structure of the regster file.
  4.  *
  5.  * Copyright (c) 1996 Systems Architecture Research Centre,
  6.  *           City University, London, UK.
  7.  *
  8.  * See the file "license.terms" for information on usage and redistribution
  9.  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  10.  *
  11.  * Written by Tim Wilkinson <tim@sarc.city.ac.uk>, February 1996.
  12.  */
  13.  
  14. #ifndef __register_hh
  15. #define __register_hh
  16.  
  17. #include "gtypes.h"
  18. #include "instruction.h"
  19.  
  20. extern nativeReg registerFile[];
  21.  
  22. #define    MAXSTACK    99999
  23.  
  24. struct _methods;
  25.  
  26. void initRegisters(void);
  27. void allocateRegisters(struct _methods*);
  28. void readRegister(operand*);
  29. void writeRegister(operand*);
  30. void syncRegisters(void);
  31.  
  32. #endif
  33.